Skip to content

Conversation

@jaclync
Copy link
Contributor

@jaclync jaclync commented Nov 4, 2022

Part of #7879

Description

The main goal of this PR is to add unit tests for three coordinators that were added/updated for store creation M1: LoggedOutStoreCreationCoordinatorTests, StoreCreationCoordinatorTests, and StorePickerCoordinatorTests. I tried looking into testing the tap action on the navigation bar button, but couldn't find a way - please lemme know if you know of a way. I also thought about mocking the M1 web implementation for store creation results, but decided not to since we're working on M2 to replace the M1 implementation.

Also, as per discussion in p1666774134269229/1666768545.000749-slack-CGPNUU63E, we agreed to update Coordinator.navigationController to be immutable. I made this change in 641eed0 since was working on changes for coordinators.

Testing instructions

The app layer changes are not user-facing, just CI should be sufficient.


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@jaclync jaclync added the type: technical debt Represents or solves tech debt of the project. label Nov 4, 2022
@jaclync jaclync added this to the 11.1 milestone Nov 4, 2022
@peril-woocommerce
Copy link

Warnings
⚠️ This PR is assigned to a milestone which is closing in less than 2 days Please, make sure to get it merged by then or assign it to a later expiring milestone

Generated by 🚫 dangerJS

@jaclync jaclync mentioned this pull request Nov 4, 2022
12 tasks
@itsmeichigo itsmeichigo self-assigned this Nov 4, 2022
@wpmobilebot
Copy link
Collaborator

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8026-378f5d9 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@jaclync jaclync modified the milestones: 11.1, 11.2 Nov 4, 2022
Copy link
Contributor

@itsmeichigo itsmeichigo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great tests! 👏

@jaclync jaclync merged commit 6067ae1 into trunk Nov 7, 2022
@jaclync jaclync deleted the td/7879-StoreCreationCoordinator-tests branch November 7, 2022 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: technical debt Represents or solves tech debt of the project.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants